package com.lyandwc.lw_bbs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyandwc.lw_bbs.entity.Comment;

import java.util.List;

public interface CommentService extends IService<Comment> {
    Comment findAbbrCommentById(int id);

    Comment findCommentById(int id);

    List<Comment> listCommentsByTopicId(int topicId, int page, int limit);

    Comment insertReplyComment(String content, int replyCommentId, int uid);

    Comment updateComment(int id, String content);

    Comment likeComment(int id);

    Comment dislikeComment(int id);
}
